﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:exincs="clr-namespace:OnlinePlots.Diagrams;assembly=OnlinePlots">

    <Style TargetType="exincs:DiagramControl">
        <Setter Property="Background" Value="White" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="exincs:DiagramControl">
                    <Grid>
                        <Canvas 
                        x:Name="PlotsRootLayer" 
                        Background="{TemplateBinding Background}">
                        </Canvas>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
 